package com.bgs.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class FourProducts implements Serializable {
    @ApiModelProperty(value = "products_id")
    @TableId(value = "products_id", type = IdType.AUTO)
    private Integer productsId;

    @ApiModelProperty(value = "父类id")
    private Integer parentsId;

    @ApiModelProperty(value = "products_name")
    private String productsName;

    private List<FourProducts> children;
}
